/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package nl.maxato.domain;

import java.util.List;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;

/**
 *
 * @author Danny
 */
public class Nation {
    @XmlElement(name="region")
    List<Regio> regios;
    @XmlAttribute int id;
    @XmlAttribute String name;

    public Nation(){
        
    }

    public Nation(List<Regio> regios, int id, String name) {
        this.regios = regios;
        this.id = id;
        this.name = name;
    }

    public int getIdNation() {
        return id;
    }

    public void setIdNation(int id) {
        this.id = id;
    }

    public String getNameNation() {
        return name;
    }

    public void setNameNation(String name) {
        this.name = name;
    }

    public List<Regio> getRegiosList() {
        return regios;
    }

    public void setRegiosList(List<Regio> regios) {
        this.regios = regios;
    }
    
    
    
   
}
